package com.ly.drivingschool.dao;

import com.ly.drivingschool.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminDao {
    // 登录接口
    Admin login(String admAccount,String admPassword);

    int deleteByPrimaryKey(Integer adminId);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer adminId);

    // 更新信息 修改密码
    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
}